<?php
include 'konek.php';
$name=$_POST['name'];
$organisasi=$_POST['organization'];
$email=$_POST['email'];
$phone=$_POST['phone'];
$isi=$_POST['isi'];

$mysql=mysql_query("INSERT INTO contact (name, organisasi, phone, email, isi) values ('$name', '$organisasi', '$email', '$phone', '$isi')")or die(mysql_error());

echo '<script language="javascript">alert("Pesan anda terkirim");document.location="../"</script>';
?>